<?php

namespace app\service;

use yii\helpers\Url;

//  同意管理连接 规范抒写
class UrlService{

	public static function BuildUrl($uri,$params = []){
		return Url::toRoute(array_merge([$uri],$params) );
	}

    public static function BuildNullUrl(){
    	return 'javascript:void(0);';
    }

}